# -*- coding: utf-8 -*-
"""
@Time ： 2023/9/11 14:00
@Auth ： y.h
@File ：template_entity.py
@IDE ：PyCharm
@Motto：The sooner you start to code, the longer the program will take. —— Roy Carlson
"""



class template_entity:
    __xxx = None
    __xxx1 = None
    __xxx2 = None

    # getterAndSetter 开始
    def get_xxx(self):
        return self.__xxx

    def set_xxx(self, xxx):
        self.__xxx = xxx

    # getterAndSetter 结束

    # toString(单元测试用)
    def __str__(self):
        return f"xxx:{self.__xxx}"

    # 获取对象属性的数组
    def get_entity_list(self) -> list:
        return [self.__xxx, self.__xxx1, self.__xxx2]


